package dao.position;

import java.util.List;

import com.ibatis.sqlmap.client.SqlMapClient;

import vo.PositionVO;

public class PositionDAOImpl implements PositionDAO{
	
	private SqlMapClient sqlMapClient;
	
	public void setSqlMapClient(SqlMapClient sqlMapClient) {
		this.sqlMapClient = sqlMapClient;
	}

	@Override
	public List<PositionVO> getAllPosition() throws Exception {
		return sqlMapClient.queryForList("position.getAllPosition");
	}

}
